package net.thumbtack.onepm.tests;


import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.support.ui.Select;


/**
 * Created with IntelliJ IDEA.
 * User: efrolova
 * Date: 28.09.12
 * Time: 16:49
 * To change this template use File | Settings | File Templates.
 */
public class EditProfile extends TestBase{


        @Test
        public void EditMyProfile() throws Exception {

            LoginFB a = new LoginFB();
            a.LogFB();
            driver.get(baseUrl + "/people/me");
            driver.findElement(By.cssSelector("span.text")).click();
            fillFormSignUp(new UserData(FirstName,lastName, position, letterCity));
            new Select(driver.findElement(By.id("marriageStatus"))).selectByVisibleText("Single");
            driver.findElement(By.xpath("//button[@type='button']")).click();
            driver.findElement(By.cssSelector("span.ui-icon.ui-icon-closethick")).click();



        }    }





